Robust Test-Time Adaptation In Dynamic Scenarios